package cn.hl.hm.dao;

import java.util.List;
import java.util.Map;

import cn.hl.hm.entity.Coupon;

public interface CouponMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Coupon record);

    int insertSelective(Coupon record);

    Coupon selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Coupon record);

    int updateByPrimaryKey(Coupon record);
    
	public Coupon selectMostfavorable(Map<String, String> map);
	
	
	public List<Coupon> selectCoupon(Coupon coupon);
}